package com.linkage.pojo.commodity;

import java.util.Date;

public class Comment {
	private Integer commentId;
	private Integer fromAuthor;
	private Integer bookId;
	private Date createTime;
	private boolean isDelete;
	private String description;
	public Integer getCommentId() {
		return commentId;
	}
	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}
	public Integer getFromAuthor() {
		return fromAuthor;
	}
    public Comment(Integer commentId, Integer fromAuthor, Integer bookId, Date createTime, boolean isDelete,
            String description) {
        super();
        this.commentId = commentId;
        this.fromAuthor = fromAuthor;
        this.bookId = bookId;
        this.createTime = createTime;
        this.isDelete = isDelete;
        this.description = description;
    }
    public void setFromAuthor(Integer fromAuthor) {
		this.fromAuthor = fromAuthor;
	}
	public Integer getBookId() {
		return bookId;
	}
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public void setIsDelete(boolean isDelete){
	    this.isDelete=isDelete;
	}
	public boolean getIsDelete(){
	    return this.isDelete;
	}
    public Comment(Integer bookId) {
        super();
        this.bookId = bookId;
    }
    public Comment() {
        super();
    }
	
}
